package awesome.Manager;

public class Item {
	int iid, uid, category, bidCount;
	String name, description, startTime, endTime, imagePath;
	double minBid, highestBid;
	
	public Item(int iid, int uid, int category, String description
			,String startTime, String endTime, double minBid, String name)
	{
		this.iid = iid;
		this.uid = uid;
		this.category = category;
		this.description = description;
		this.startTime = startTime;
		this.endTime = endTime;
		this.minBid = minBid;
		this.name = name;
	}
	
	public String toString()
	{
		return "iid:"+ iid +"\t" +
		"uid:"+ uid +"\t" +
		"category:"+ category +"\t" +
		"description:"+ description +"\t" +
		"startTime:"+ startTime +"\t" +
		"endTime:"+ endTime +"\t" +
		"minBid:"+ minBid ;
	}
	
	public int getItemID() {
		return iid;
	}
	
	public int getUserID() {
		return uid;
	}
	
	public String getName() {
		return name;
	}
	
	public int getCategory() {
		return category;
	}
	
	public String getDescription() {
		return description;
	}
	
	public String getStartTime() {
		return startTime;
	}
	
	public String getEndTime() {
		return endTime;
	}
	
	public double getMinBid() {
		return minBid;
	}
	
	//need to set the image path somehow (probably should actually be implemented in ItemManager)
	public void setImagePath(String path) {
		imagePath = path;
	}

	public String getImagePath() {
		return imagePath;
	}
}